import s from './index.module.scss'

const SliderItem = ({
  data,
}) => {
  return (
    <div className={s.container}>
      <div className={s.title}>-&nbsp;{data.title}&nbsp;-</div>
      <img className={s.slider_img} src={data.img} />
    </div>
  )
}

export default SliderItem